package com.cskaoyan.bean.leihao.vo;

import com.cskaoyan.bean.MarketBrand;
import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.MarketGoodsAttribute;
import com.cskaoyan.bean.MarketGoodsSpecification;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: leihao
 * @Date: Created in 20:04 2022/6/29
 */
@NoArgsConstructor
@Data
public class WxGoodsDetailVo {

    private List<SpecificationListDTO> specificationList;
    private List<GrouponDTO> groupon;
    private List<IssueDTO> issue;
    private Integer userHasCollect;
    private String shareImage;
    private CommentDTO comment;
    private Boolean share;
    private List<MarketGoodsAttribute> attribute;
    private MarketBrand brand;
    private List<ProductListDTO> productList;
    private MarketGoods info;

    @NoArgsConstructor
    @Data
    public static class CommentDTO {
        private List<DataDTO> data;
        private Integer count;
    }


    @NoArgsConstructor
    @Data
    public static class SpecificationListDTO {
        private String name;
        private List<MarketGoodsSpecification> valueList;

    }

    @NoArgsConstructor
    @Data
    public static class GrouponDTO {
        private Integer id;
        private Integer goodsId;
        private String goodsName;
        private String picUrl;
        private Integer discount;
        private Integer discountMember;
        private String expireTime;
        private Integer status;
        private String addTime;
        private String updateTime;
        private Boolean deleted;
    }

}
